home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 285_02 / machine.h < prev    next >
Text File  |  1990-07-08  |  384b  |  11 lines

  1. /* machine.h      Define machine-dependencies for bison,
  2.    copyright (C) 1984 Bob Corbett and Richard Stallman      */
  3.  
  4.  
  5. #define  MAXSHORT   32767       /* note: -32768 is a long on DOS compilers */
  6. #define  MINSHORT  -32767
  7.  
  8. #define  BITS_PER_WORD  16
  9. #define  WORDSIZE(n)  (((n) + 15) / 16)
  10. #define  SETBIT(x, i) ((x)[(i)>>4] |= (1<<((i) & 15)))
  11.